<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Carson_Ho</title>


    <script>

   function callJS(){
      alert("Android调用了JS的callJS方法");
   }

       function clickprompt(){
    var result=prompt("js://webview?arg1=111&arg2=222");
    alert("demo " + result);
}

function getIndentMs(json) {

            //<!--var data = JSON.parse(json);-->
           //var data = JSON.parse(json);
           //$('.tradingType').text(data.subject);
           //$('.payMoney').text(data.amount);
           //$('.tradingNum').text(data.ordersn);
           //$('.createTime').text(data.create_at);
            alert(json);

        };
    </script>

</head>
<body>
<button type="button" id="button1" onclick="hello()">callAndroid1</button>
<button type="button" id="button2" onclick="callAndroid()">callAndroid2</button>
<button type="button" id="button3" onclick="clickprompt()">调用android</button>
</body>
</html>
